
#ifndef TRIANGLEELEMENT_H
#define TRIANGLEELEMENT_H


class triangleElement
{
    double x1, y1, x2, y2, x3, y3;             // vertex coordinates
    double area;                               // element area
    int node[3];                          // element node index
    double elementK[3][3];             // element stiffness matrix
public:
    triangleElement(double X1, double Y1, double X2, double Y2, double X3, double Y3);
    ~triangleElement();
    friend class culculate;
};

#endif // TRIANGLEELEMENT_H
